package org.agile2soft.nexoma.tapestry.pages.admin.users;

import org.agile2soft.nexoma.entity.InternalUser;
import org.agile2soft.nexoma.entity.Profile;
import org.apache.tapestry5.SelectModel;
import org.apache.tapestry5.annotations.Mixin;

import br.com.arsmachina.tapestrycrud.base.BaseEditPage;
import br.com.arsmachina.tapestrycrud.hibernatevalidator.mixins.HibernateValidatorMixin;

public class UsersInternalEdit extends BaseEditPage<InternalUser,Integer> {

    @Mixin
    @SuppressWarnings("unused")
    private HibernateValidatorMixin hibernateValidatorMixin;


    public SelectModel getProfileSM() {
        return getSelectModelFactory().create(Profile.class);
    }
}

